<?php

/**
 * @author Jeevan Tomson
 * @copyright 2011
 */

define("ROOT_DIR","/www_powerman/");

define("APP_DIRECTORY",$_SERVER['DOCUMENT_ROOT']."/www_powerman/app");

define("DEFAULT_LANG",1);


define("LIST_ITEMS_PER_PAGE", 10);

define("_SITE_DOMAIN_", "http://localhost");
define("_FROM_MAIL_", "webmaster@powerman.com");

define("APP_TIME_ZONE","Asia/Qatar");
define("SERVER_TIME_ZONE",date_default_timezone_get());

define("UPLOAD_FILE_SIZE_LIMIT", 1048576);

define("NEW_USER_DEFAULT_PASSWORD","default123");

define("NAME_MIN_LENGTH",3);
define("NAME_MAX_LENGTH",50);

define("USER_NAME_MIN_LENGTH",5);
define("USER_NAME_MAX_LENGTH",15);

define("PASSWORD_MIN_LENGTH",5);
define("PASSWORD_MAX_LENGTH",15);

define("PHONE_MIN_LENGTH",7);
define("PHONE_MAX_LENGTH",15);

define("EMAIL_MIN_LENGTH",5);
define("EMAIL_MAX_LENGTH",35);

define("COLORCODE_MIN_LENGTH",3);
define("COLORCODE_MAX_LENGTH",6);

define("ADDRESS_MAX_LENGTH",255);

define("COMMENT_MAX_LENGTH",255);

define("LOGIN_FAILED_STATUS","failed");
define("LOGIN_SUCCESS_STATUS","success");

define("DB_OP_FAILED_STATUS","failed");
define("DB_OP_SUCCESS_STATUS","success");


?>